using System;
using System.Collections.Generic;
using System.Text;

namespace AopLoadBalancer.Server.BusinessLogic
{
    class AliveNotification
    {
        private string serviceId;
        private string serviceUrl;
        private DateTime lastAliveTick;


        public string ServiceId
        {
            get { return serviceId; }
        }

        public string ServiceUrl
        {
            get { return serviceUrl; }
        }

        public DateTime LastAliveTick
        {
            get { return lastAliveTick; }
            set { lastAliveTick = value; }
        }

        public AliveNotification(string serviceId, string serviceUrl, DateTime lastAliveTick)
        {
            this.serviceId = serviceId;
            this.serviceUrl = serviceUrl;
            this.lastAliveTick = lastAliveTick;
        }
    }
}
